package com.example.pwj.ffstudy.ui.activity;

import android.os.Handler;

import com.example.pwj.ffstudy.R;
import com.example.pwj.ffstudy.base.BaseActivity;

/**
 * author：liluo
 * e-mail：lastcrazysun@163.com
 * company：cusc
 * date：2017/8/22 17:11
 * description：
 */

public class SplashActivity extends BaseActivity {

    @Override
    protected void init() {
        new Handler().postDelayed(new Runnable() {
            @Override
            public void run() {
                openActivity(MainActivity.class);
                finish();
            }
        },2000);
    }

    @Override
    protected int getLayoutId() {
        return R.layout.activity_splash;
    }
}
